package com.itheima.abvice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;


@Aspect
@Component
//@Order(100)
public class BAdvice {
    @Pointcut("execution(* com.itheima.service.impl.*.*(..))")
    public void pt(){


    }
@Before("pt()")
    public void before(){
        System.out.println("执行了。BAdevice—— before ");
    }


}
